package com.biluo.mvs.network

import com.biluo.mvs.model.PaymentForm
import retrofit2.http.*

interface TicketApi {
    @GET("/mvv/mvs/ticket/list")
    suspend fun list(@Query("page") page: Int, @Query("limit") limit: Int): Map<String, Any>

    @GET("/mvv/mvs/ticket/info/{id}")
    suspend fun info(@Path("id") id: String): Map<String, Any>

    @POST("/mvv/mvs/ticket/payment")
    suspend fun payment(@Body paymentForm: PaymentForm): Map<String, Any>
}